This subsystem controls the characteristics of the analyzer’s output ports.
Command tree: OUTPut<Pt>
OUTPut<Chn>:DPORt PORT1 |
PORT2 | PORT3 | PORT4Selects a source port for the stimulus signal (drive port). The setting acts on the active trace. The effect of the drive port selection depends on the measurement parameter associated to the active trace:
If an S-parameter S<out><in> is measured, the second port number index <in> (input port of the DUT = drive port of the analyzer) is set equal to the selected drive port: Drive port selection affects the measured quantity.
If a wave quantity or a ratio is measured, the drive port is independent from the measured quantity:
Note: This command is equivalent to [SENSe<Chn>:]SWEep:SRCPort.
|
<Chn> |
Channel number used to identify the active trace. If unspecified the numeric suffix is set to 1.
|
|
PORT1 ... |
Test port number of the analyzer, 1 to 2, 3 or 4, depending on the analyzer model. |
|
*RST value |
PORT1
|
|
SCPI, Command Types |
Device-specific, with query.
|
|
Example: |
CALC4:PAR:SDEF 'Ch4Tr1', 'A1' Create channel 4 and a trace named Ch4Tr1 to measure the wave quantity a1. The trace automatically becomes the active trace.
Select drive port 2 for the active trace.
|
Sets or queries a channel-dependent four-bit binary value to control four independent output signals at the USER CONTROL connector (lines 8, 9, 10, 11). The output signals are 3.3 V TTL signals which can be used to differentiate between up to 16 independent analyzer states. OUTPut<Ch>:UPORt[:VALue] itself does not change the analyzer state.
Channel
bit definition and activation
The channel bits have the following properties:
After a *RST of the analyzer all channel bits (including the value for the active, sweeping channel no. 1) are set to zero; no signal is applied to pins 8 to 11 of the USER CONTROL connector.
The value defined with OUTPut<Ch>:UPORt[:VALue] is assigned to channel no. <Ch>.
The signals at the USER CONTROL connector reflect the channel bits of the measuring channel, i.e. the channel for which the analyzer performs a sweep. This channel is not necessarily identical with the active channel.
The signals are switched on as soon as a measurement (sweep) in a channel with non-zero channel bits is started. They are changed whenever a channel with different channel bits becomes the measuring channel.
The signals at the USER CONTROL connector are maintained after the analyzer enters the hold state. This happens if all channels use single sweep mode and if all sweep sequences have been terminated.
You can use the active channel number
as a parameter for OUTPut<Ch>:UPORt[:VALue]
and monitor the activity of up to 16 different channels at the USER CONTROL
connector; see example below. You can also use the USER CONTROL output
signals as channel-dependent trigger signals for external devices. Use
CONTrol:AUXiliary:C[:DATA]
to transfer the four bit value in decimal representation.
|
<Ch> |
Channel number.
|
|
<numeric_value> |
Binary value. |
|
Range [def. unit] |
#B0000 to #B1111 (for setting command), 0 to 15 (query) [–] The transferred
values correspond to the following states of the USER CONTROL connector: |
|
*RST value |
#B0000 (0)
|
|
SCPI, Command Types |
Confirmed, command or query. The query returns a decimal value.
|
|
Example: |
*RST; OUTP1:UPOR #B0001 Assign the channel bit value #B0001 to the active channel no. 1. The analyzer performs a measurement in channel no. 1, therefore the output signal at pin 8 is switched on. CONF:CHAN2:STAT ON; OUTP2:UPOR #B0020 Create channel no. 2, causing it to become the active channel, and assign the channel bit value #B0002. The analyzer performs no measurement in channel no. 2, therefore the output signal is not changed. CALC2:PAR:SDEF 'Ch2Tr1', 'S11' Create a trace named 'Ch2Tr1' and assign it to channel 2. While the analyzer measures in channel 2, the output signal changes from pin 8 to pin 9.
|